import { BrowserModule } from '@angular/platform-browser';
import { NgModule }      from '@angular/core';

import { AppRoutingModule }        from './app-routing.module';
import { AppComponent }            from './app.component';
import { WeUiModule }              from 'ngx-weui';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { PaymentModule }           from "./payment/payment.module";
import { HttpClientModule }        from "@angular/common/http";
import { WXService }               from "./WXService";

@NgModule({
    declarations: [
        AppComponent
    ],
    imports     : [
        BrowserModule,
        AppRoutingModule,
        WeUiModule,
        PaymentModule,
        HttpClientModule,
        BrowserAnimationsModule
    ],
    exports     : [ WeUiModule ],
    providers   : [ WXService ],
    bootstrap   : [ AppComponent ],
})
export class AppModule {}
